package com.Jhu1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yin.entity.Material;

import java.util.List;

/**
 * @author 钟俊辉
 * @description 针对表【material】的数据库操作Service
 * @createDate 2025-01-16 20:19:37
 */
public interface MaterialService extends IService<Material> {
    List<Material> getMaterialList(String name);
    
    void add(String materialName, double materialPrice);
    
    void delete(Integer id);
    
    void updateMaterial(Integer id, String materialName, double materialPrice);
}
